import request from '@/utils/request'

export function submitData(data){
    return request({
        url: '/business/application',
        method: 'post',
        data: data
    })
}

export function getFormData(userId){
    return request({
        url: '/business/getAppData',
        method: 'get',
        params:{userId}
    })
}

export function getMyStore(userId){
    return request({
        url: '/business/manager/getStoreByUser',
        method: 'get',
        params:{userId}
    })
}